package com.qdlc.p2p.biz.service;

import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.BorrowBespeak;

/**
 * 预约借款
 *
 * @author sj
 * @version 2.0
 * @since 2014-08-20
 */
public interface BorrowBespeakService {

    /**
     * @param borrowBespeak
     * @return
     */
    public PageDataList<BorrowBespeak> borrowBespeakList(
            BorrowBespeak borrowBespeak, int page, int size, String searchName);

    /**
     * 根据id查找
     *
     * @param id
     * @return
     */
    public BorrowBespeak find(long id);

    /**
     * 更新
     *
     * @param borrowBespeak
     */
    public void borrowBespeakEdit(BorrowBespeak borrowBespeak);

}
